﻿<controls:ChildWindow x:Class="SilverlightParser.Messenger"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="581" Height="463" 
           Title="Messenger" Closed="ChildWindow_Closed" Loaded="ChildWindow_Loaded" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my="clr-namespace:SilverlightParser">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="取消" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="确定" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
        <Button Content="TestLearnLangNodes" Height="23" HorizontalAlignment="Left" Margin="380,135,0,0" Name="buttonTestLearnLangNodes" VerticalAlignment="Top" Width="144" Click="buttonTestLearnLangNodes_Click" />
        <sdk:Label Height="28" HorizontalAlignment="Left" Margin="369,225,0,0" Name="label1" VerticalAlignment="Top" Width="120" />
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="267,345,0,0" Name="buttonSend" VerticalAlignment="Top" Width="75" Click="buttonSend_Click" />
        <sdk:DataGrid AutoGenerateColumns="False" Height="222" HorizontalAlignment="Left" Margin="12,12,0,0" Name="dataGridDialogueScripts" VerticalAlignment="Top" Width="330" SizeChanged="dataGridDialogueScripts_SizeChanged" DataContextChanged="dataGridDialogueScripts_DataContextChanged" VerticalGridLinesBrush="White">
            <sdk:DataGrid.Columns>
                <sdk:DataGridTextColumn Binding="{Binding Remote}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Width="Auto" Header="Remote" />
                <sdk:DataGridTextColumn Binding="{Binding Text}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Width="Auto" Header="Speech" ElementStyle="{StaticResource DataGridTextColumnStyle}" />
                <sdk:DataGridTextColumn Binding="{Binding Local}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Width="Auto" Header="local" />
            </sdk:DataGrid.Columns>
        </sdk:DataGrid>
        <RichTextBox HorizontalAlignment="Left" Margin="12,249,0,0" Name="richTextBoxInput" VerticalAlignment="Top" Width="330" Height="90" DataContext="{Binding}" />
    </Grid>
</controls:ChildWindow>